<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="c-borrowId" class="control-label col-xs-12 col-sm-2">{:__('BorrowId')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-borrowId" data-rule="required" class="form-control" name="row[borrowId]" type="number" value="{$row.borrowId}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-userId" class="control-label col-xs-12 col-sm-2">{:__('UserId')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-userId" data-rule="required" class="form-control" name="row[userId]" type="number" value="{$row.userId}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-account" class="control-label col-xs-12 col-sm-2">{:__('Account')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-account" data-rule="required" class="form-control" step="0.01" name="row[account]" type="number" value="{$row.account}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-interest" class="control-label col-xs-12 col-sm-2">{:__('Interest')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-interest" data-rule="required" class="form-control" step="0.01" name="row[interest]" type="number" value="{$row.interest}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-totalAccount" class="control-label col-xs-12 col-sm-2">{:__('TotalAccount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-totalAccount" data-rule="required" class="form-control" step="0.01" name="row[totalAccount]" type="number" value="{$row.totalAccount}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-repayAccount" class="control-label col-xs-12 col-sm-2">{:__('RepayAccount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-repayAccount" data-rule="required" class="form-control" step="0.01" name="row[repayAccount]" type="number" value="{$row.repayAccount}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-status" class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-status" data-rule="required" class="form-control" name="row[status]" type="number" value="{$row.status}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-createTime" class="control-label col-xs-12 col-sm-2">{:__('CreateTime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-createTime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[createTime]" type="text" value="{$row.createTime|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-updateTime" class="control-label col-xs-12 col-sm-2">{:__('UpdateTime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-updateTime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[updateTime]" type="text" value="{$row.updateTime|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-authCode" class="control-label col-xs-12 col-sm-2">{:__('AuthCode')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-authCode" data-rule="required" class="form-control" name="row[authCode]" type="text" value="{$row.authCode}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-cardId" class="control-label col-xs-12 col-sm-2">{:__('CardId')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cardId" data-rule="required" class="form-control" name="row[cardId]" type="number" value="{$row.cardId}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-cardType" class="control-label col-xs-12 col-sm-2">{:__('CardType')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cardType" data-rule="required" class="form-control" name="row[cardType]" type="number" value="{$row.cardType}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-redMoney" class="control-label col-xs-12 col-sm-2">{:__('RedMoney')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-redMoney" data-rule="required" class="form-control" step="0.01" name="row[redMoney]" type="number" value="{$row.redMoney}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-addApr" class="control-label col-xs-12 col-sm-2">{:__('AddApr')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-addApr" data-rule="required" class="form-control" step="0.01" name="row[addApr]" type="number" value="{$row.addApr}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-addInterest" class="control-label col-xs-12 col-sm-2">{:__('AddInterest')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-addInterest" data-rule="required" class="form-control" step="0.01" name="row[addInterest]" type="number" value="{$row.addInterest}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-repayAddInterest" class="control-label col-xs-12 col-sm-2">{:__('RepayAddInterest')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-repayAddInterest" data-rule="required" class="form-control" step="0.01" name="row[repayAddInterest]" type="number" value="{$row.repayAddInterest}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-isFirst" class="control-label col-xs-12 col-sm-2">{:__('IsFirst')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-isFirst" data-rule="required" class="form-control" name="row[isFirst]" type="number" value="{$row.isFirst}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-device" class="control-label col-xs-12 col-sm-2">{:__('Device')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-device" data-rule="required" class="form-control" name="row[device]" type="text" value="{$row.device}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
